package day03;

public class IfElseDemo {
    public static void main(String[] args) {
        double price = 300;
        if (price > 500) {
            price *= 0.8;
        } else {
            price *= 0.9;
        }
        System.out.println(price);

        double score = 96;
        if (score > 100 || score < 0) {
            System.out.println("error");
        } else {
            System.out.println("right");
        }
        System.out.println("==========");

    }

}
